<template>
    <div class="collections_box">
        <ListCom :type_i="0" @pushId="pushId" ></ListCom>
        <ListInfo :type_i="0"  ref="ListInfo"></ListInfo>
    </div>
</template>

<script>
import ListCom from '@/components/finance/list.vue'
import ListInfo from '@/components/finance/listInfo.vue'

export default {
    components: {
        ListCom,
        ListInfo,
    },
    data () {
        return {

        }
    },
    methods: {
        pushId (e) {
            this.$refs.ListInfo.ch = e.ch;
            this.$refs.ListInfo.getBillInfo(e.id)
        }
    }
}
</script>

<style lang="scss" scoped>
    .collections_box {
        width: 100%;
        display: flex;
    }
</style>